package cn.zhouchao.org.service;

import cn.zhouchao.basic.service.IBaseService;
import cn.zhouchao.basic.util.PageList;
import cn.zhouchao.org.domain.Department;
import cn.zhouchao.org.domain.Employee;
import cn.zhouchao.org.query.DepartmentQuery;
import java.util.List;

public interface IDepartmentService extends IBaseService<Department> {
    // 极限树
    List<Department> tree();
    // 抽屉：通过前端点击部门的id，到后端查所有员工，再通过其id查到该员工所有数据
    List<Employee> findByIdEmp(Long id);

}
